
import javax.swing.JMenuItem;
import javax.swing.JPanel;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Constantin
 */
public class fileExitCommand extends JMenuItem implements Command{
    private String Exit;
    
    public fileExitCommand(String Exit){
        this.Exit = Exit;
        execute();
    }
    public void execute(){
        System.exit(0);
    }
}
